{% load custom_filters %} {% load humanize %}

TRIAL BALANCE

Currency: {{ currency }}
Period: {{ from_date|date:"d M Y" }} - {{ to_date|date:"d M Y" }}

{% for row in trial_data %} {% endfor %}
Account Opening Debit Credit Ending
{{ row.acct_no|format_acct_no }} - {{ row.acct_name }} {{ row.opening|floatformat:2|intcomma }} {{ row.debit|floatformat:2|intcomma }} {{ row.credit|floatformat:2|intcomma }} {{ row.ending|floatformat:2|intcomma }}
TOTAL {{ total_debit|floatformat:2|intcomma }} {{ total_credit|floatformat:2|intcomma }}
Difference (Must Be 0) {{ difference|floatformat:2|intcomma }}